<?php
//serialize 系列化   unserialize系列化恢复
echo '<pre>';
$array = array();
$array['key'] = 'website';
$array['value']='www.chhua.com';
$a = serialize($array);
echo $a;
unset($array);
echo '<br>';
$a = unserialize($a);
print_r($a);
?> 